﻿<UserControl x:Class="WMSSoft.WinKStart.UserControls.WinKStartBehavior"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="270" d:DesignWidth="453">
    <Grid Background="#FFFFFFFF" Height="270" Margin="0" Width="453">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="75*"/>
            <ColumnDefinition Width="152*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Label Content="SelectEvent" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" Width="150" Grid.ColumnSpan="2" Padding="5,0,5,2" VerticalContentAlignment="Center" Margin="0,7,0,0"/>
        <ComboBox HorizontalAlignment="Left" Margin="5,4,0,0" VerticalAlignment="Top" Width="236" Grid.Column="2" SelectedValue="{Binding Data.SelectEvent}" SelectedValuePath="Value1" DisplayMemberPath="Value2"  ItemsSource="{Binding SelectEventItems}"/>
        <Label Content="Style" HorizontalAlignment="Left" Margin="0,5,0,0" Grid.Row="1" Width="150" Grid.ColumnSpan="2" Padding="5,0"/>
        <ComboBox Grid.Column="2" HorizontalAlignment="Left" Grid.Row="1" Width="236" Padding="6,3,5,3" VerticalAlignment="Bottom" Margin="5,5,0,0" SelectedValue="{Binding Data.DefaultStyle}" SelectedValuePath="Value1" DisplayMemberPath="Value2"  ItemsSource="{Binding StyleItems}"/>
        <Label Content="Active Region on Start" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="2" VerticalAlignment="Top" Height="20" Padding="5,0" VerticalContentAlignment="Center" Width="150" Margin="0,5,0,0"/>
        <ComboBox Grid.Column="2" HorizontalAlignment="Left" Margin="5,5,0,0" Grid.Row="2" VerticalAlignment="Top" Width="236" SelectedValue="{Binding Data.ActiveRegionOnStart}" DisplayMemberPath="Value2" SelectedValuePath="Value1" ItemsSource="{Binding RegionItems}"/>
        <Label Content="Left Click Opens" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="3" VerticalAlignment="Top" Height="20" Padding="5,0" VerticalContentAlignment="Center" Width="150" Margin="0,5,0,0"/>
        <ComboBox Grid.Column="2" HorizontalAlignment="Left" Grid.Row="3" Margin="5,5,0,0" SelectedValue="{Binding Data.ButtonMouseOpen}" DisplayMemberPath="Value2" SelectedValuePath="Value1" ItemsSource="{Binding OpenItems}" Width="236" />
        <Label Content="Win Key Opens" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="4" VerticalAlignment="Top" Height="20" Padding="5,0" VerticalContentAlignment="Center" Width="150" Margin="0,5,0,0"/>
        <ComboBox Grid.Column="2" HorizontalAlignment="Left" Grid.Row="4" Margin="5,5,0,0" SelectedValue="{Binding Data.ButtonKeyboardOen}" DisplayMemberPath="Value2" SelectedValuePath="Value1" ItemsSource="{Binding OpenItems}" Width="236" />
        <Label Content="Shift + Left Click Opens" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="5" VerticalAlignment="Top" Height="20" Padding="5,0" VerticalContentAlignment="Center" Width="150" Margin="0,5,0,0"/>
        <ComboBox Grid.Column="2" HorizontalAlignment="Left" Grid.Row="5" Margin="5,5,0,0" SelectedValue="{Binding Data.ShiftButtonMouseOpen}" DisplayMemberPath="Value2" SelectedValuePath="Value1" ItemsSource="{Binding OpenItems}" Width="236" />
        <Label Content="Shift + Win Key Opens" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="6" VerticalAlignment="Top" Height="20" Padding="5,0" VerticalContentAlignment="Center" Width="150" Margin="0,5,0,0"/>
        <ComboBox Grid.Column="2" HorizontalAlignment="Left" Grid.Row="6" Margin="5,5,0,0" SelectedValue="{Binding Data.ShiftButtonKeyboardOpen}" DisplayMemberPath="Value2" SelectedValuePath="Value1" ItemsSource="{Binding OpenItems}" Width="236" />
        <Label Content="Mouse Move Opens" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="7" VerticalAlignment="Top" Height="20" Padding="5,0" VerticalContentAlignment="Center" Width="150" Margin="0,5,0,0"/>
        <ComboBox Grid.Column="2" HorizontalAlignment="Left" Grid.Row="7" Margin="5,5,0,0" SelectedValue="{Binding Data.MoveButtonMouseOpen}" DisplayMemberPath="Value2" SelectedValuePath="Value1" ItemsSource="{Binding OpenItems}" Width="236" />
        <Label Content="Delay Time (Mouse Move)" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="8" VerticalAlignment="Top" Height="20" Padding="5,0" VerticalContentAlignment="Center" Width="150" Margin="0,3,0,0"/>
        <TextBox Grid.Row="8" Grid.Column="2"  Margin="5,5,260,0" Text="{Binding Data.MoveButtonMouseOpenDelayTime}" IsEnabled="{ Binding EnableMoveButtonMouseOpenDelayTime}" />
    </Grid>
</UserControl>
